<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>标签</title>
    <link rel="icon" th:href="@{/blog/images/favicon.ico}" type="image/ico">
    <meta name="keywords" content="blog"/>
    <meta name="description" content="blog"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link th:href="@{/blog/css/base.css}" rel="stylesheet">
    <link th:href="@{/blog/css/m.css}" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/gh/jquery/jquery@3.2.1/dist/jquery.min.js"></script>
    <script th:src="@{/blog/js/comm.js}"></script>
    <link rel="stylesheet" th:href="@{/css/my.css}">
    <!--[if lt IE 9]>
    <script th:src="@{/blog/js/modernizr.js}"></script>
    <![endif]-->
</head>
<body>
<header th:replace="blog/header::header-fragment"></header>

<article>

    <div class="whitebg cloud">
        <h2 class="htitle">标签云</h2>
        <ul>
            <a th:href="@{/tag/{tagId}(tagId=${tag.id})}" target="_blank" th:each="tag : ${tags}" >[[${tag.name}]]</a>
        </ul>
    </div>

    <div class="whitebg bloglist">
        <h2 class="htitle">所有博客</h2>
        <ul >
            <hr>
            <li th:each="list : ${blog}">
                <a th:href="@{/blog/{id}(id=${list.id})}" target="_blank"><h3 class="blogtitle">[[${list.title}]]</h3></a>
                <span class="blogpic imgscale"><i><a th:href="@{/blog/{id}(id=${list.id})}" th:text="${list.flag}"></a></i><a th:href="@{/blog/{id}(id=${list.id})}" title=""><img th:src="@{${list.firstPicture}}" alt=""></a></span>
                <p class="blogtext" th:text="${list.context}"></p>
                <p class="bloginfo"><span th:text="${#dates.format(list.updateTime,'yyyy-MM-dd')}"></span><span>【<a th:href="@{/types/{id}(id=${list.typeId})}" th:text="${list.type.name}" ></a>】</span></p>
                <a th:href="@{/blog/{id}(id=${list.id})}" class="viewmore">阅读更多</a>
            </li>
        </ul>
    </div>

</article>
<footer th:replace="blog/footer::footer-fragment"></footer>
</body>
</html>
